﻿namespace MicroMVVM
{
    /// <summary>
    /// Represents whether a Service is to be consumed in Runtime or Designtime.
    /// </summary>
    public enum ServiceType
    {
        /// <summary>
        /// Represents a runtime service.
        /// </summary>
        Runtime,
        /// <summary>
        /// Represents a designtime service.
        /// </summary>
        Designtime,
        /// <summary>
        /// Represents that service is used for both designtime and runtime.
        /// </summary>
        Any
    }

    /// <summary>
    /// Represents whether the instantiation is a singleton or transient.
    /// </summary>
    public enum PartCreationPolicy
    {
        /// <summary>
        /// Creates one instance.
        /// </summary>
        Singleton,
        /// <summary>
        /// Creates new instance.
        /// </summary>
        Transient
    }
}